package com.operator.Activitys.view.entity;

import com.flyco.tablayout.listener.CustomTabEntity;

/**
 * 项目名称：金泽云 手机app（办卡、实名认证）
 * 类描述：底部导航栏 外部装填类
 * 创建人：张飞祥
 * 创建时间：2018/3/1 13:30
 * 修改人：张飞祥
 * 修改时间：2018/3/1 13:30
 * 修改备注：
 */

public class TabEntity implements CustomTabEntity {
    public String title;
    public int selectedIcon;
    public int unSelectedIcon;

    public TabEntity(String title, int selectedIcon, int unSelectedIcon) {
        this.title = title;
        this.selectedIcon = selectedIcon;
        this.unSelectedIcon = unSelectedIcon;
    }

    public TabEntity(String title) {
        this.title = title;
    }

    @Override
    public String getTabTitle() {
        return title;
    }

    @Override
    public int getTabSelectedIcon() {
        return selectedIcon;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unSelectedIcon;
    }
}
